
let instance = Object ; // 把 Object对象当作一个实例来看待

// 获得 instance 所引用的实例中 所有自有属性和函数 名称 组成的数组
let names = Object.getOwnPropertyNames( instance );

for( let i = 0 ; i < names.length ; i++ ){
    let name = names[ i ] ;
    let value = instance[ name ];
    console.log( name , ':' , typeof(value) );
}

console.log( '- - - - - - - - - - - - - - - - - - - - -' );

let proto = Object.prototype ;

let propNames = Object.getOwnPropertyNames( proto );

for( let i = 0 ; i < propNames.length ; i++ ){
    let name = propNames[ i ] ;
    let value = proto[ name ];
    console.log( name , ':' , typeof(value) );
}